package org.example.StudentManagementSystem.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.StudentManagementSystem.service.EnrollmentService;
import org.example.StudentManagementSystem.entity.Enrollment;
import org.example.StudentManagementSystem.mapper.EnrollmentMapper;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EnrollmentServiceImpl extends ServiceImpl<EnrollmentMapper, Enrollment> implements EnrollmentService {

    @Override
    public boolean removeBatchByIds(List<Integer> ids) {
        return baseMapper.deleteBatchIds(ids) > 0;
    }
}
